Class_name = "CTurret"
object_name = "TurretBristolF2BF2_1"

[COCKPIT_LIMITS]
x= -0.15, 0.20
y= -0.05, 0.3
z= -0.25, 0.25
[END]

[OPEN_COCKPIT_LIMITS]
x= -0.15, 0.20
y= -0.05, 0.3
z= -0.4, 0.4
[END]

VisualImage=0,"graphics/planes/BristolF2BF2/BristolF2BF2-C1-low.mgm",1
VisualImage=1,"graphics/planes/BristolF2BF2/BristolF2B-C1.mgm",0
KeepNetworkImages=true

CollisionBody="graphics/planes/BristolF2BF2/BristolF2B-C1.col"

VisualRadius=5.0

mp_site=true

[attach=0]
	position = 0.0, -0.1, 0.0
	object = "LuaScripts/WorldObjects/Bots/BotGunner_BFF2B.txt"
[end]

[attach=1]
	position = 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/TurretRiffle.txt"
[end]

[attach=2]
	position = 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/TurretCamera.txt"
[end]

TargetingScript = "LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.bin"

SoundScript="LuaScripts/Sound/Planes/BristolF2B_T_WM2.cfg"

DropsArg=100
HumidityArg=101

SetCockpitArgs=true	// true -             , false -              

//CockpitArg= FetchType, CmdID, SubcmdID, ArgNum, ArgValDefault, SmoothingType, SmoothingPower, NetworkFlag
//FetchType=-1:       
//FetchType=-2:         
//FetchType=-3:          parent-
//FetchType>=0:          child-   Attach ID
//CmdID=[0..999]: ID    ,    .
//CmdID=[1000..1999]: ID    ,    .
//SubcmdID=[0..3]: ID     .
//SubcmdID=[0..1]: ID     .
//ArgNum:     / .
//ArgValDefault:      ,    .
//SmoothingType: smooth_clamp -  - 
//SmoothingType: smooth_wrap -   
//SmoothingPower:   
//NetworkFlag="":           ,  SetCockpitArgs=false
//NetworkFlag="low_freq":     ,       ,    
//NetworkFlag="med_freq":     ,       ,    
//NetworkFlag="high_freq":     ,       ,    
//NetworkFlag="granted_single":     ,       ,     

CockpitArg = -2, 0000, 0, 9181, 0.0, "smooth_clamp", 0.0, "granted_single" //     
CockpitArg = -2, 0001, 0, 9044, 0.0, "smooth_clamp", 0.5, "med_freq" //     

[TurretsPos=0]
	position = 0.0, 0.0, 0.0
	PosMoveArg = 21300
	SeatArg=22111

	ReloadDelay = 0.3
	BotRotaionValueZ = 0.0	//-2.0
	LegsParameter = 0.0
	BotMinFirstAngle  = -43
	BotMaxFirstAngle  = 0
	BotMinSecondAngle = -180
	BotMaxSecondAngle = 180
	FirstToSecondInterp = 0.0
	BotAttachJointId = 0
	BotFirstAnimJointId = 1
	BotSecondAnimJointId  = 2

	relativeBotStand = 0.0, 0.0, 0.0
	relativeBotSit = 0.0, 0.0, 0.0
	relativeBotDead = 0.0, 0.0, 0.0
	TransitionStandPower = 1
	TransitionDeadPower = 1
	
	LockTurretCamera=false
	
	// Joints in orientation order!!!
	[Joint=0]
		SectorAngleMin = -180.0
		SectorAngleMax = 180.0

		AngularSpeed   = 60.0

		AnimationArgMin = 0.0
		AnimationArgMax = 1.0

		AnimationArgNum = 21001

		Point = -0.151111, 0.549491, 0.0
		Axis = 0.0, 1.0, 0.0

		IsCycled = true
		

		SoundNumber = 1
	[end]

	[Joint=1]
		SectorAngleMin = -43.0
		SectorAngleMax = 0.0
		
		AngularSpeed   = 30.0

		AnimationArgMin = 0.0
		AnimationArgMax = 1.0

		AnimationArgNum = 21002

		Point = 0.63579,0.078231,0.0
		Axis = 0.0, 0.0, 1.0

		NextLinkedId = 2

		SoundNumber = 1
	[end]

	[Joint=2]
		SectorAngleMin = -20
		SectorAngleMax = 45
		
		AngularSpeed   = 120.0

		AnimationArgMin = 0.44444
		AnimationArgMax = 0.625

		AnimationArgNum = 21007
		
		Point = 0.0, 0.0, 0.0
		Axis  = 0.0, 0.0, 1.0
		
		
		DependFromPrevious = false
		
		PrevLinkedId = 1

		SoundNumber = 2

		NoMoveFar=true	// Block rotation when the target is in the rear henisphere
	[end]

	[GunAnimation=0]
		FireArg = 9040
	[end]

	FireLightArg=60220

	SightPosition = 0.0, 0.5, 0.0

	defaultDirection = 0.951, -0.309, 0.0

	CamDisplacement = -0.30, 0.23137, 0.0
[end]

[TurretsGun=0]
	LinkedTurretPos = 0
	Convex = "gun0"
	DamageProp = 0.25

	Displacement = 0.42612, 0.073537, 0.0
	GunsightPosition = -0.30, 0.23137, 0.0
	ParallaxDistance = 400.0

	GunType = "LuaScripts/WorldObjects/Weapons/MG_ROF_Lewis.txt"

	ReLoadingStagesTime = 1.0, 3.0, 1.0, 0.3

	ReservedMagazinesArgIdx = 9181
	FlashAnimationArgIdx = 9040
	TriggerPositionArgIdx = 9000
	RoundsInMagazineArgIdx = 9046
	HideAmmunitionArgIdx = 9045
	ReLoadingArgIdx = 9044
	AzimuthDeviationArgIdx = 9012
	ElevationDeviationArgIdx = 9013
	FiringPinPositionArgIdx = 9016

	Deviation = 0.8856, 2.6568, 0.0, 0.008, 0.1, 0.4  //1.08    (  -2), 4.32   ,    .  820/
	// /:
	//-      , /
	//-      , /
	//-       (0.9 -    0.1  ,   )
	//-    
	//-     
	//-      100/

	NumOfAnimations = 4

	BushCoord = -0.337, 0.075, 0.02
	BushSpeed = 0.0, 0.0, 1.0

	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"

	SoundNumber = 1
[end]

[Ammunition0]
	GunAmmunition0=0
[end]
[GunAmmunition0]
	MaxRoundsInMagazine = 97
	RoundsInMagazine = 97
	MaxReservedMagazines = 6
	ReservedMagazines = 6
	MaxMisFiresInMagazine = 1
	AmountRoundsWithOneTracer = 3
	ParallaxConfig="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.bin"
	BulletConfig = "LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.txt"
[end]

SightPos = 0.0, 0.2, 0.0
PositionChangeTime = 1.0
StandDuration = 4.0
SitDuration = 4.0
PreEjectDuration = 4.0


//   ,         
SectorLimits = -180.0, -175.0, +25.0, +90.0
SectorLimits = -175.0, -143.0, +18.0, +90.0
SectorLimits = -143.0, -110.0, +16.0, +90.0

SectorLimits = -38.0, -30.0, -30.0, +90.0
SectorLimits = -30.0, +30.0, -20.0, +90.0
SectorLimits = +30.0, +38.0, -30.0, +90.0

SectorLimits = +110.0, +143.0, +16.0, +90.0
SectorLimits = +143.0, +175.0, +18.0, +90.0
SectorLimits = +175.0, +180.0, +25.0, +90.0

[Entrance]
	EntrancePos= 0.0, -0.1, 0.0
	EntranceRot= 0,0,0
	JumpDir=1,7,1
[end]
[Entrance]
	EntrancePos= 0.0, -0.1, 0.0
	EntranceRot= 0,0,0
	JumpDir=-2,6,1
	SelectorDir=0,2,0	//        2/
[end]

// Damage

SphereHitProtection=0	//  /     

[SphereProtectionBoxOpen]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

[SphereProtectionBoxClose]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

Armor=0
LifeRate=50000
LifeRateFrag=5000
Firing=0.0

energyloss="",true,0.7,1000 //     , true -       -,       ,        
energyloss="gun0",true,5.0,20000 // 
NoAimingWhenOpened=false